package com.ruoyi.cs.domain.dto.pay;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.math.BigDecimal;

/**
 * @ClassName RechargeVo
 * @Description TODO
 * @Author zz
 * @Date 2024/3/23
 **/
@Data
public class RechargeVo {
    @ApiModelProperty(value = "充值金额")
    @NotNull
    private Integer czMoney;

    @ApiModelProperty(value = "充值设备 0  PC  1 手机端 ")
    @NotBlank
    @Pattern(regexp = "[01]", message = "Number must be 0 1")
    private String czEquipment;

    @ApiModelProperty(value = "充值类型 0 微信  1 支付宝")
    @NotBlank
    @Pattern(regexp = "[01]", message = "Number must 0 1")
    private String czType;

    @ApiModelProperty(value = "支付平台 7 yukuaiqi支付 8 叁金支付")
    @NotBlank
    @Pattern(regexp = "[78]", message = "Number must be 7 8")
    private String czplatform;
}
